/** @persagy2/eslint-plugin
 *
 * @author halo951 (https://github.com/halo951)
 * @license MIT
 */
"use strict";

module.exports = {
  // ! 注意: 由于 eslint-plugin-prettier 识别不出来时, 会默认给一个 babel 的 parser, 所以这里覆盖掉这个配置
  // ! 让 prettier 自己去识别
  parser: undefined,
  printWidth: 120,
  tabWidth: 2,
  useTabs: false,
  semi: false,
  singleQuote: true,
  quoteProps: "as-needed",
  jsxSingleQuote: true,
  trailingComma: "none",
  bracketSpacing: true,
  jsxBracketSameLine: false,
  arrowParens: "always",
  proseWrap: "preserve",
  endOfLine: "auto",
};
